package com.education.monitoring;

/**
 * Created by zhangshijie on 2015/12/13.
 */
public class NginxMonitoring extends BaseMonitoring {

	private String httpUrl;

	public void setHttpUrl(String httpUrl) {
		this.httpUrl = httpUrl;
	}

	/**
	 * 检测心跳
	 */
	@Override
	boolean checkHeartbeat() {
		return checkUrl(httpUrl);
	}

}
